

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Working with MTS Files [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, MTS File,MTS File Working With,MTS File Create,MTS File Advanced Options,MTS File Incorporate Model View,MTS File Incorporate Model Search,MTS File Incorporate Task Pane Profile,MTS File Incorporate Diagram Profile,MTS File Incorporate Toolbox Profile,Model Search,Model Search Define In MTS File,Toolbox Profile,Toolbox Profile Define In MTS File,Task Pane Profile,Task Pane Profile Define In From MTS File,Diagram Profile,Diagram Profile Define In MTS File,Model Views,Model Views Define In MTS File">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Working with MTS Files</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="addingimagesinmdgtechnolog.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="custom_toolboxes.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">An MDG Technology Selection (.MTS) file stores the selected options that you define when creating an MDG Technology File using the </span><span class="f_BodyText">MDG Technology Wizard</span><span class="f_BodyText">. If you use a .MTS file, you can edit it to change the features selected when you generated the file, and to add or remove the advanced features described in this topic.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Create a .MTS File</span></p>
<p class="p_BodyText"><span class="f_BodyText">To create a .MTS file, select the </span><span class="f_MenuKeyField">Tools | Generate MDG Technology File</span><span class="f_BodyText"> menu option to launch the MDG Technology Wizard, and work through the screens as described in <a href="creatingmdgtechnologies.htm">Create MDG Technologies</a>. On the second page, select the </span><span class="f_MenuKeyField">Create a new MTS file</span><span class="f_BodyText"> option.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Advanced Options For Your .MTS File</span></p>
<p class="p_BodyText"><span class="f_BodyText">Once you have created the .MTS file, you can add:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Your own <a href="custom_toolboxes.htm">Enterprise Architect UML Toolbox profiles</a></span></li>
<li><span class="f_Bulletlist1"><a href="custom_diagram_types.htm">Diagram Profiles</a></span></li>
<li><span class="f_Bulletlist1"><a href="custom_task_panes.htm">Tasks Pane profiles</a></span></li>
<li><span class="f_Bulletlist1"><a href="creating_search_filters.htm#ExportSearch">Model Search definitions</a> </span></li>
</ul>
<div style="text-align: left; text-indent: -17px; padding: 0px 0px 0px 0px; margin: 3px 0px 0px 30px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td bgcolor="#f7f7ff" style="background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">If you use a custom SQL search, the SQL must include </span><span class="f_TiporNoteText" style="font-style: italic;">ea_guid AS CLASSGUID </span><span class="f_TiporNoteText">and the </span><span class="f_TiporNoteText" style="font-style: italic;">object type.</span></p>
</td>
</tr>
</table>
</div>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="model_views_operations.htm#TDV">Model Views </a></span></li>
</ul>
<div style="text-align: left; text-indent: -17px; padding: 0px 0px 0px 0px; margin: 3px 0px 0px 30px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Notes:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><ul style="text-indent: 0px; margin-left: 14px; list-style-position: outside;">
<li><span class="f_TiporNoteText">Technology views do not store Favorite packages, only Views.</span></li>
<li><span class="f_TiporNoteText">If</span><span class="f_TiporNoteText"> your exported views run searches that you have defined you must also include those searches in your MDG Technology.</span></li>
</ul>
</td>
</tr>
</table>
</div>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1"><a href="icons_and_logos_for_technology.htm">Icons and logos for the technology</a></span></li>
<li><span class="f_Bulletlist1"><a href="model_validation_2.htm">Model Validation configurations</a></span></li>
<li><span class="f_Bulletlist1"><a href="model_templates2.htm">Model Templates.</a></span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">Open the .MTS file in a text editor. To make it easier for you, you can copy the following lines and paste them into the file before the last line of the file (that is, just before the </span><span class="f_Code">&lt;/MDG.Selections&gt;</span><span class="f_BodyText"> lines:</span></p>
<p class="p_Code"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_Code">&lt;ModelSearches file=&quot;&quot;/&gt;</span></p>
<p class="p_Code"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_Code">&lt;UIToolboxes directory=&quot;&quot; files=&quot;&quot;/&gt;</span></p>
<p class="p_Code"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_Code">&lt;DiagramProfile directory=&quot;&quot; files=&quot;&quot;/&gt;</span></p>
<p class="p_Code"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_Code">&lt;UITaskpanes directory=&quot;&quot; files=&quot;&quot;/&gt;</span></p>
<p class="p_Code"> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_Code">&lt;ModelViews file=&quot;&quot;/&gt;</span></p>
<p class="p_BodyText"><span class="f_BodyText">(The code for the icons, logos, model validation configurations and model templates is provided in the corresponding sections, accessed via the links in the list above.)</span></p>
<p class="p_BodyText"><span class="f_BodyText">You can, if necessary, have more than one line for each inclusion; for example, more than one </span><span class="f_BodyText" style="font-style: italic;">ModelSearch</span><span class="f_BodyText"> or, if your profiles are in different locations, more than one </span><span class="f_BodyText" style="font-style: italic;">DiagramProfile</span><span class="f_BodyText">. For each inserted line:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">In the </span><span class="f_Code">directory</span><span class="f_Bulletlist1"> attributes, enter the full path of the folder in which your Toolbox Profiles, Diagram Profiles or Task Pane Profiles are kept</span></li>
<li><span class="f_Bulletlist1">In the </span><span class="f_Code">file</span><span class="f_Bulletlist1"> attributes, enter the filename of the Model Search XML file or Model View XML file</span></li>
<li><span class="f_Bulletlist1">In the</span><span class="f_Bulletlist1" style="font-style: italic;"> </span><span class="f_Code">files</span><span class="f_Bulletlist1"> attributes, enter a comma-separated ordered list of profile XML filenames.</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">Save the .MTS file.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Update the MDG Technology</span></p>
<p class="p_BodyText"><span class="f_BodyText">Again select the </span><span class="f_MenuKeyField">Tools | Generate MDG Technology File</span><span class="f_BodyText"> menu option, but this time on the second page select </span><span class="f_MenuKeyField">Open an Existing MTS file</span><span class="f_BodyText"> and specify the file path of the .MTS file you have updated. Click on </span><span class="f_MenuKeyField">&lt;Next&gt;</span><span class="f_BodyText"> until the wizard is finished. Your MDG Technology file is updated.</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
